{volist name="$dnavlist" id="vo" key="k"}
{
name: "{$vo.name}",
href: "{:url('/index/'.$vo.page.'/index',['lanmu'=>$vo.id, 'id'=>$vo.id])}",
subList: [
{if $vo.erlist}
{volist name="$vo.erlist" id="v" key="k2"}
{ name: "{$v.name}", href: "{:url($v.page.'/index',['lanmu'=>$vo.id,'id'=>$v.id])}" },
{/volist}
{/if}
{if $vo.page == 'products'}
{volist name="$vo.categories" id="v3" key="k3"}
{ name: "{$v3.name}", href: "{:url($vo.page.'/index',['lanmu'=>$vo.id,'category_id'=>$v3.id])}" },
{/volist}
{/if}
],
},
{/volist}